package com.tom.common;

import java.math.BigDecimal;
import java.util.Arrays;

public class OrderItem {
    private Integer uid;
    private Integer rid;
    private Integer addressId;
    private OrderFoodUtil[] foodList;
    private String remark;
    private BigDecimal boxCost;
    private BigDecimal total;

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public OrderFoodUtil[] getFoodList() {
        return foodList;
    }

    public void setFoodList(OrderFoodUtil[] foodList) {
        this.foodList = foodList;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public BigDecimal getBoxCost() {
        return boxCost;
    }

    public void setBoxCost(BigDecimal boxCost) {
        this.boxCost = boxCost;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    @Override
    public String toString() {
        return "OrderItem{" +
                "uid=" + uid +
                ", rid=" + rid +
                ", addressId=" + addressId +
                ", foodList=" + Arrays.toString(foodList) +
                ", remark='" + remark + '\'' +
                ", boxCost=" + boxCost +
                ", total=" + total +
                '}';
    }


}
